package com.yeyks.consumer.service.impl;

import com.yeyks.common.result.user.UserDataStatTotalResult;
import com.yeyks.consumer.dal.domain.UserDataStat;
import com.yeyks.consumer.dal.dao.UserDataStatMapper;
import com.yeyks.consumer.service.UserDataStatService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;


/**
 * <p>
 * 用户数据统计 服务实现类
 * </p>
 *
 * @author shuai
 * @since 2019-11-07
 */
@Service
public class UserDataStatServiceImpl extends ServiceImpl<UserDataStatMapper, UserDataStat> implements UserDataStatService {

    /**
     * 用户数据统计总结果
     *
     * @return
     */
    @Override
    public UserDataStatTotalResult totalResult() {
        return baseMapper.selectTotalResult();
    }
}
